package com.jwater.core.manager.common.model;

import com.jwater.core.metrics.FileSystemSpace;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @description:
 * @author: jnner
 * @createDate: 2021/3/22
 * @version: 1.0
 */
public class SystemInfo implements Serializable {
    private Map<String, Double> systemMemory;
    private float cpuUsage;
    private List<Float> allCpuUsage;
    private String path;
    private Map<String, FileSystemSpace> allFileSystemSpace;
    private Map<String, Set<Integer>> usedPort;
    private Map<String, String> diskRate;
    private Map<String, String> netRate;
    private long currTime;
    private String host;

    public Map<String, Double> getSystemMemory() {
        return systemMemory;
    }

    public void setSystemMemory(Map<String, Double> systemMemory) {
        this.systemMemory = systemMemory;
    }

    public float getCpuUsage() {
        return cpuUsage;
    }

    public void setCpuUsage(float cpuUsage) {
        this.cpuUsage = cpuUsage;
    }

    public List<Float> getAllCpuUsage() {
        return allCpuUsage;
    }

    public void setAllCpuUsage(List<Float> allCpuUsage) {
        this.allCpuUsage = allCpuUsage;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Map<String, FileSystemSpace> getAllFileSystemSpace() {
        return allFileSystemSpace;
    }

    public void setAllFileSystemSpace(Map<String, FileSystemSpace> allFileSystemSpace) {
        this.allFileSystemSpace = allFileSystemSpace;
    }

    public Map<String, Set<Integer>> getUsedPort() {
        return usedPort;
    }

    public void setUsedPort(Map<String, Set<Integer>> usedPort) {
        this.usedPort = usedPort;
    }

    public Map<String, String> getDiskRate() {
        return diskRate;
    }

    public void setDiskRate(Map<String, String> diskRate) {
        this.diskRate = diskRate;
    }

    public Map<String, String> getNetRate() {
        return netRate;
    }

    public void setNetRate(Map<String, String> netRate) {
        this.netRate = netRate;
    }

    public long getCurrTime() {
        return currTime;
    }

    public void setCurrTime(long currTime) {
        this.currTime = currTime;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
